﻿<%@ Page Title="Nhân viên" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="EditProfile.aspx.cs" Inherits="QuanLyHopDong.Web.Employees.EditProfile" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%=Resources.GlobalStrings.Edit %> <%=Resources.GlobalStrings.Employees %></h2>
    <p></p>
    <span class="failureNotification"><asp:Literal ID="lblErrorMessage" runat="server"></asp:Literal></span>
    <div>
        <fieldset>
            <legend><%=Resources.GlobalStrings.Employees %></legend>
            <p>
                <label><%=Resources.GlobalStrings.Name%>:</label>
                <asp:TextBox ID="txtName" runat="server" CssClass="textEntry name"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtName" 
                                     CssClass="failureNotification"
                                     ValidationGroup="Edit">(*)</asp:RequiredFieldValidator>
            </p>
            <p>
                <label>Username:</label>
                <asp:TextBox ID="txtUserName" runat="server" CssClass="textEntry name" ReadOnly="True" autocomplete="false"></asp:TextBox>
            </p>
            <p>
                <label>Password:</label>
                <asp:TextBox ID="txtPassword" TextMode="Password" runat="server" CssClass="textEntry name" autocomplete="false"></asp:TextBox>
                (Để trống nếu không đổi)
            </p>
            <p>
                <label>Xác nhận Password:</label>
                <asp:TextBox ID="txtConfirmPassword" TextMode="Password" runat="server" CssClass="textEntry name"></asp:TextBox>
            </p>
            <%--<p>
                <label>Email:</label>
                <asp:TextBox ID="txtEmailAddress" runat="server" CssClass="textEntry name"></asp:TextBox>                
            </p>
            <p>
                <label>Phone:</label>
                <asp:TextBox ID="txtPhoneNumber" runat="server" CssClass="textEntry name"></asp:TextBox>                
            </p>
            <p>
                <label><%=Resources.GlobalStrings.Description%>:</label>
                <asp:TextBox ID="txtDescription" TextMode="MultiLine" runat="server" CssClass="textEntry description"></asp:TextBox>
            </p>--%>
        </fieldset>
    </div>
    <p></p>
    <div>
        <asp:Button ID="btnSave" runat="server" 
            Text="<%$ Resources:GlobalStrings, Save %>" CssClass="submitButton" 
            ValidationGroup="Edit" onclick="btnSave_Click" />
        <input id="btnCancel" type="button" value="<%=Resources.GlobalStrings.Cancel %>" class="submitButton" onclick="javascript: window.location = 'List.aspx';" />
    </div>
</asp:Content>